﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.ProductionManagement
{
    /// <summary>
    /// 种公母档案表
    /// </summary>
    public class Record : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]

        public int RecordId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? RecordCorpuscle { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        public string? RecordMother { get; set; }
        /// <summary>
        /// 父亲耳号
        /// </summary>
        public string? RecordFather { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? RecordBreed { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? RecordDate { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string? RecordSite { get; set; }
        /// <summary>
        /// 出生重（公斤）
        /// </summary>
        public decimal? RecordWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? RecordRemark { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int? RecordType { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime AdmissionDate { get; set; }
    }
}
